package pers.ljf.escloud.common.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import pers.ljf.escloud.common.enums.FileTypeEnum;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhaojun
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FileItemDTO implements Serializable {

    /**
     * 文件名，不包含路径,如"data.sql"
     */
    private String name;
    /**
     * 文件全限定名，如"饭了么/开发部/技术发展部/data.sql"
     */
    private String key;
    private Date time;
    private String timeOuter;
    private Long size;
    private FileTypeEnum type;
    private String path;
    private String url;
}
